<div id='caja'>
	<div id='autor_post'><b>Publicar Noticia</b></div>
	<div id='error_form'><?php if ($this->error) { echo $this->error; } ?></div>
	<form action='<?php echo $this->baseUrl(); ?>/admin/addnew/' method='post'>
		<table align='center' width='700px'>
			<tr>
				<td width='50px'>Fecha:</td>
				<td><input type='text' name='fecha' id='fecha' size='20' class='InputTable' value='<?php echo date('Y/m/d G:i:s'); ?>'></td>
			</tr>
			<tr>
				<td>Titular:</td>
				<td><input type='text' name='titular' size='80' class='InputTable'></td>
			</tr>
			<tr>
				<td>Imagen:</td>
				<td><input type='text' name='imagen' class='InputTable'></td>
			</tr>
			<tr><td colspan=2>&nbsp;</td></tr>
			<tr><td colspan=2>Introducci&oacute;n:</td></tr>
			<tr><td colspan=2><?php $this->FckEditor('intro', stripslashes($this->content), 200, 690, true); ?></td></tr>
			<tr><td colspan=2>&nbsp;</td></tr>
			<tr><td colspan=2>Cuerpo:</td></tr>
			<tr><td colspan=2><?php $this->FckEditor('cuerpo', stripslashes($this->content), 400, 690, true); ?></td></tr>
			<tr><td colspan=2>&nbsp;</td></tr>
		</table>
		<table align='center' width='700px'>
			<tr>
				<td width='160px'>Enalace a la noticia original:</td>
				<td align='rigth'><input type='text' name='url' size='102' class='InputTable'></td>
			</tr>
			<tr><td colspan=2>&nbsp;</td></tr>
		</table>
		
		<table align='center' width='700px'>
			<tr>
				<td align='center'><input name='publicar' type='submit' class='InputTable' value='Publicar'></td>
				<td align='center'><input name='publicar' type='submit' class='InputTable' value='Cancelar'></td>
			</tr>
		</table>
	</form>
</div>
<script type="text/javascript">$('titular').focus();</script>